package net.dgg.zz.production.chargeback.dao;

import net.dgg.zz.production.entity.ProductOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author 孙上峰
 * @ClassName <ZzProductOrderDao>
 * @despriction
 * @create 2018/08/16 10:57
 **/
@Component
public interface ZzProductOrderDao {

    void save(ProductOrder scProductOrder);

    void update(ProductOrder scProductOrder);

    List<ProductOrder> query(Map map);

    Integer count(Map map);

    ProductOrder getById(@Param(value = "id") Long id);

    List<Map> queryMap(Map map);
}
